{template "content","header"}
{if $catid==22}
<div class="banner_imgBg newImgBg">
    <img src="{TPL_IMG}new_bg.png"/>
</div>
{/if}

{if $catid==27}
<div class="banner_imgBg productImgBg">
    <img src="{TPL_IMG}product_titel.png"/>
</div>
{/if}
<!-- 当行breach -->
<div class="l_con_w">
    <ul class="com_nav clearfix">
        <li class="r"><a href="#">{catpos($catid)}</a></li>
        <li  class="r"> > </li>
        <li class="r"><a href="/index.php">首页</a></li>
        <li class="r">当前位置：</li>        
    </ul>
</div>

<div class="l_con clearfix">
    <div class="leftNav l">
        <ul>
            
            {loop subcat($catid) $v}
            <li><a href="{$v[url]}">{$v[catname]}</a></li>
            {/loop}
        </ul>
    </div>
    <div class="r rightRIght">
        {if $catid==27}
        <ul class="productList clearfix">
            {pc:content  action="lists" catid="$catid" order="id DESC" num="20" page="$page"}
             {loop $data $k $v}
            <li class="l">
                <a href="{$v[url]}"><img src="{$v[thumb]}"/></a>
                <a href="{$v[url]}" title="{$v[title]}">{str_cut($v[title], 60)}</a>
            </li>
            {/loop}
        </ul>
        {else}
        <ul class='newUl'>
        {pc:content  action="lists" catid="$catid" order="id DESC" num="20" page="$page"}
                <ul class="list">
                {loop $data $k $v}
                    <li>
                        <a href="{$v[url]}" title="{$v[title]}" class="l">{str_cut($v[title], 60)}</a>
                        <span class="r">[{date("Y-m-d",$v[inputtime])}]</span>
                    </li>
                {/loop}
                </ul>
        {/pc}
        </ul>
        {/if}
        <!--page-->
        {$w_pages}
    </div>
</div>
{template "content","footer"}